﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using nplJobsCommon.JobSeeker;
using nplJobsDAL.Insert;
using nplJobsDAL.Update;

namespace nplJobsBLL.ProcessJobSeeker
{

    public class ProcessUpdateJobSeekerProfilePicture : IBusinessLogic
    {
        public string CheckUnique;
        public int isSaved = 0;

        public ProcessUpdateJobSeekerProfilePicture()
        {
        }
        public JobSeeker JobSeeker { get; set; }

        public void invoke()
        {
            UpdateJobSeekerProfilePicture update = new UpdateJobSeekerProfilePicture();
            update.JobSeeker = this.JobSeeker;
            update.invoke();
            isSaved = update.isSaved;
        }
    }
}
